home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 14 / CU Amiga Magazine's Super CD-ROM 14 (1997)(EMAP Images)(GB)(Track 1 of 3)[!][issue 1997-09].iso / CUCD / Programming / AMOS / AMOSList0597 / AMOSLIST / text0313.txt < prev    next >
Encoding:
Text File  |  1997-06-01  |  1.8 KB  |  43 lines

  1. On 27-mei-97 Rob Sibley wrote:
  2. >Mr. Giark To You wrote:
  3. >>>Is the high score guy going to write an in-game score system 
  4. >>>with lives and score displayed anywhere ?  Someone probably should.  
  5.  
  6. >>Mr. Sibley? You reading this?
  7.  
  8. >Ohhh, thanks.
  9.  
  10. >No problem, but do you actually want me to display the score 
  11. >and lives?  The easiest way to do that would be using bobs, 
  12. >so they would have to use the same palette as those used by the 
  13. >bobs in each section of the game, and that would be nasty.
  14.  
  15. I have a proc in the Procedure Library on Aminet that will calculate the
  16. brightest, mid brightest and least brightest colour on a screen. This is
  17. specifically for cases like this, where you need to allocate contrasting
  18. colours without knowing what they are beforehand. 
  19.  
  20. >Alternatively we could have a status bar in the same place on 
  21. >the screen for all games, which could then just have text pasted 
  22. >to it.  That would work quite nicely, if you're all willing to 
  23. >donate the bottom 12 pixels of your screen to me and give me 
  24. >three colours to play with (they'd have to be the same three for 
  25. >all games).  It could show the score, lives, level info and a 
  26. >little game/Amos logo or something.
  27.  
  28. Will all modules have scores and lives? If so, will those scores be within a
  29. uniform range (you cannot have one module giving a maximum score of 100 and
  30. another one a score of 100,000,000.
  31.  
  32. If you want to be sure about the display, just open your own screen. Reserve
  33. screen 7 for hi-scores. Then tell everyone that they have a statusline of X
  34. characters wide that they can send data to. Give the proc that receives this
  35. data a standard name (STATUS[DETA$]).
  36.  
  37. -- 
  38. Branko Collin                                              . |. .
  39. collin@xs4all.nl                                         . . || ...
  40. http://www.xs4all.nl/~collin                          . ....||| .. ..
  41.  
  42.  
  43.